searchentry: Make search delay editable
authorOndřej Míchal <harrymichal@seznam.cz>
Fri, 11 Mar 2022 00:15:49 +0000 (02:15 +0200)
committerOndřej Míchal <harrymichal@seznam.cz>
Tue, 15 Mar 2022 21:55:10 +0000 (23:55 +0200)
commit0c3583b4bd8929a353f51527d54bf426032114ca
tree88e19cf2baa8460b769be7d37c00da6ebb515b35
parent9f7c9ce6ad9d0ad8743fe9c5d5a66b7ae477a5c8
searchentry: Make search delay editable

The default search delay of 150ms can be too low at times[0], leading app
developers to add additional delay while handling the search-changed
signal[1].

Based on past work from hugsie[2].

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4133

[0] https://github.com/getting-things-gnome/gtg/issues/281
[1] https://github.com/getting-things-gnome/gtg/pull/587
[2] https://gitlab.gnome.org/GNOME/gtk/-/issues/678
gtk/gtksearchentry.c
gtk/gtksearchentry.h